package com.glodon.ggzy.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;

/**
 * GgZfIezcBulletin entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "GG_ZF_IEZC_BULLETIN")
public class GgZfIezcBulletin implements java.io.Serializable {

	// Fields    

	private String id;

	private String bulletincode;

	private String bulletinname;

	private String relateproject;

	private String stockmode;

	private String district;

	private Date buysarttime;

	private Date buyendtime;

	private Date judgetime;

	private Date bidstarttime;

	private Date bidendtime;

	private Date openbidtime;

	private String bulletincontent;

	private Date createdate;

	private String auditmsg;

	private Date postdate;

	private String invitefilename;

	private String invitefilepath;

	private String remark;

	private String currentstatus;

	private String systemtype;

	private String creatororgid;

	private String creatorid;

	private String bulletinsrc;

	private String pregionid;

	private String pregionname;

	private String hottype;

	private String content;

	// Constructors

	/** default constructor */
	public GgZfIezcBulletin() {
	}

	/** minimal constructor */
	public GgZfIezcBulletin(String bulletincode, String bulletinname, String currentstatus, String systemtype) {
		this.bulletincode = bulletincode;
		this.bulletinname = bulletinname;
		this.currentstatus = currentstatus;
		this.systemtype = systemtype;
	}

	/** full constructor */
	public GgZfIezcBulletin(String bulletincode, String bulletinname, String relateproject, String stockmode, String district, Date buysarttime,
			Date buyendtime, Date judgetime, Date bidstarttime, Date bidendtime, Date openbidtime, String bulletincontent,
			Date createdate, String auditmsg, Date postdate, String invitefilename, String invitefilepath, String remark,
			String currentstatus, String systemtype, String creatororgid, String creatorid, String bulletinsrc, String pregionid, String pregionname,
			String hottype, String content) {
		this.bulletincode = bulletincode;
		this.bulletinname = bulletinname;
		this.relateproject = relateproject;
		this.stockmode = stockmode;
		this.district = district;
		this.buysarttime = buysarttime;
		this.buyendtime = buyendtime;
		this.judgetime = judgetime;
		this.bidstarttime = bidstarttime;
		this.bidendtime = bidendtime;
		this.openbidtime = openbidtime;
		this.bulletincontent = bulletincontent;
		this.createdate = createdate;
		this.auditmsg = auditmsg;
		this.postdate = postdate;
		this.invitefilename = invitefilename;
		this.invitefilepath = invitefilepath;
		this.remark = remark;
		this.currentstatus = currentstatus;
		this.systemtype = systemtype;
		this.creatororgid = creatororgid;
		this.creatorid = creatorid;
		this.bulletinsrc = bulletinsrc;
		this.pregionid = pregionid;
		this.pregionname = pregionname;
		this.hottype = hottype;
		this.content = content;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ID", unique = true, nullable = false, length = 200)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "BULLETINCODE", nullable = false, length = 128)
	public String getBulletincode() {
		return this.bulletincode;
	}

	public void setBulletincode(String bulletincode) {
		this.bulletincode = bulletincode;
	}

	@Column(name = "BULLETINNAME", nullable = false, length = 512)
	public String getBulletinname() {
		return this.bulletinname;
	}

	public void setBulletinname(String bulletinname) {
		this.bulletinname = bulletinname;
	}

	@Column(name = "RELATEPROJECT", length = 256)
	public String getRelateproject() {
		return this.relateproject;
	}

	public void setRelateproject(String relateproject) {
		this.relateproject = relateproject;
	}

	@Column(name = "STOCKMODE", length = 128)
	public String getStockmode() {
		return this.stockmode;
	}

	public void setStockmode(String stockmode) {
		this.stockmode = stockmode;
	}

	@Column(name = "DISTRICT", length = 128)
	public String getDistrict() {
		return this.district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "BUYSARTTIME", length = 7)
	public Date getBuysarttime() {
		return this.buysarttime;
	}

	public void setBuysarttime(Date buysarttime) {
		this.buysarttime = buysarttime;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "BUYENDTIME", length = 7)
	public Date getBuyendtime() {
		return this.buyendtime;
	}

	public void setBuyendtime(Date buyendtime) {
		this.buyendtime = buyendtime;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "JUDGETIME", length = 7)
	public Date getJudgetime() {
		return this.judgetime;
	}

	public void setJudgetime(Date judgetime) {
		this.judgetime = judgetime;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "BIDSTARTTIME", length = 7)
	public Date getBidstarttime() {
		return this.bidstarttime;
	}

	public void setBidstarttime(Date bidstarttime) {
		this.bidstarttime = bidstarttime;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "BIDENDTIME", length = 7)
	public Date getBidendtime() {
		return this.bidendtime;
	}

	public void setBidendtime(Date bidendtime) {
		this.bidendtime = bidendtime;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "OPENBIDTIME", length = 7)
	public Date getOpenbidtime() {
		return this.openbidtime;
	}

	public void setOpenbidtime(Date openbidtime) {
		this.openbidtime = openbidtime;
	}

	@Column(name = "BULLETINCONTENT")
	public String getBulletincontent() {
		return this.bulletincontent;
	}

	public void setBulletincontent(String bulletincontent) {
		this.bulletincontent = bulletincontent;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CREATEDATE", length = 7)
	public Date getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	@Column(name = "AUDITMSG", length = 1024)
	public String getAuditmsg() {
		return this.auditmsg;
	}

	public void setAuditmsg(String auditmsg) {
		this.auditmsg = auditmsg;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "POSTDATE", length = 7)
	public Date getPostdate() {
		return this.postdate;
	}

	public void setPostdate(Date postdate) {
		this.postdate = postdate;
	}

	@Column(name = "INVITEFILENAME", length = 512)
	public String getInvitefilename() {
		return this.invitefilename;
	}

	public void setInvitefilename(String invitefilename) {
		this.invitefilename = invitefilename;
	}

	@Column(name = "INVITEFILEPATH", length = 2048)
	public String getInvitefilepath() {
		return this.invitefilepath;
	}

	public void setInvitefilepath(String invitefilepath) {
		this.invitefilepath = invitefilepath;
	}

	@Column(name = "REMARK", length = 2048)
	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name = "CURRENTSTATUS", nullable = false, length = 32)
	public String getCurrentstatus() {
		return this.currentstatus;
	}

	public void setCurrentstatus(String currentstatus) {
		this.currentstatus = currentstatus;
	}

	@Column(name = "SYSTEMTYPE", nullable = false, length = 32)
	public String getSystemtype() {
		return this.systemtype;
	}

	public void setSystemtype(String systemtype) {
		this.systemtype = systemtype;
	}

	@Column(name = "CREATORORGID", length = 200)
	public String getCreatororgid() {
		return this.creatororgid;
	}

	public void setCreatororgid(String creatororgid) {
		this.creatororgid = creatororgid;
	}

	@Column(name = "CREATORID", length = 200)
	public String getCreatorid() {
		return this.creatorid;
	}

	public void setCreatorid(String creatorid) {
		this.creatorid = creatorid;
	}

	@Column(name = "BULLETINSRC", length = 32)
	public String getBulletinsrc() {
		return this.bulletinsrc;
	}

	public void setBulletinsrc(String bulletinsrc) {
		this.bulletinsrc = bulletinsrc;
	}

	@Column(name = "PREGIONID", length = 200)
	public String getPregionid() {
		return this.pregionid;
	}

	public void setPregionid(String pregionid) {
		this.pregionid = pregionid;
	}

	@Column(name = "PREGIONNAME", length = 200)
	public String getPregionname() {
		return this.pregionname;
	}

	public void setPregionname(String pregionname) {
		this.pregionname = pregionname;
	}

	@Column(name = "HOTTYPE", length = 40)
	public String getHottype() {
		return this.hottype;
	}

	public void setHottype(String hottype) {
		this.hottype = hottype;
	}

	@Column(name = "CONTENT")
	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}
